package com.reebake.ideal.message.websocket.core;

import com.reebake.ideal.message.websocket.entity.WebsocketMessageTransferDTO;
import org.springframework.context.event.EventListener;

public class DefaultWebSocketMessageListener extends AbstractWebsocketMessageListener {

    @EventListener
    public void handleMessageEvent(WebSocketMessageBroadcastEvent webSocketMessageBroadcastEvent) {
        WebsocketMessageTransferDTO websocketMessageTransferDTO = webSocketMessageBroadcastEvent.getWebsocketMessageTransferDTO();
        super.handleMessage(websocketMessageTransferDTO);
    }
}
